package com.hm.hall.commons.constans.po;


/**
 * bajidu geocoder地址信息接口对象
 *
 * @author wei
 */
public class GeoDomain {
    public int status;
    public Result result;

    /**
     * @return the status
     */
    public int getStatus() {
        return status;
    }

    /**
     * @param status the status to set
     */
    public void setStatus(int status) {
        this.status = status;
    }

    /**
     * @return the result
     */
    public Result getResult() {
        return result;
    }

    /**
     * @param result the result to set
     */
    public void setResult(Result result) {
        this.result = result;
    }

    public static class Result {

        /**
         *
         */
        public String formatted_address;

        public AddressComponent addressComponent;

        public int cityCode;

        /**
         * @return the formatted_address
         */
        public String getFormatted_address() {
            return formatted_address;
        }

        /**
         * @param formatted_address the formatted_address to set
         */
        public void setFormatted_address(String formatted_address) {
            this.formatted_address = formatted_address;
        }

        /**
         * @return the addressComponent
         */
        public AddressComponent getAddressComponent() {
            return addressComponent;
        }

        /**
         * @param addressComponent the addressComponent to set
         */
        public void setAddressComponent(AddressComponent addressComponent) {
            this.addressComponent = addressComponent;
        }

        /**
         * @return the cityCode
         */
        public int getCityCode() {
            return cityCode;
        }

        /**
         * @param cityCode the cityCode to set
         */
        public void setCityCode(int cityCode) {
            this.cityCode = cityCode;
        }

    }

    public static class AddressComponent {
        public String city;
        public String district;
        public String province;
        public String street;
        public String street_number;

        /**
         * @return the city
         */
        public String getCity() {
            return city;
        }

        /**
         * @param city the city to set
         */
        public void setCity(String city) {
            this.city = city;
        }

        /**
         * @return the district
         */
        public String getDistrict() {
            return district;
        }

        /**
         * @param district the district to set
         */
        public void setDistrict(String district) {
            this.district = district;
        }

        /**
         * @return the province
         */
        public String getProvince() {
            return province;
        }

        /**
         * @param province the province to set
         */
        public void setProvince(String province) {
            this.province = province;
        }

        /**
         * @return the street
         */
        public String getStreet() {
            return street;
        }

        /**
         * @param street the street to set
         */
        public void setStreet(String street) {
            this.street = street;
        }

        /**
         * @return the street_number
         */
        public String getStreet_number() {
            return street_number;
        }

        /**
         * @param street_number the street_number to set
         */
        public void setStreet_number(String street_number) {
            this.street_number = street_number;
        }

    }
}
